Crate sn_protocol
source ·Modules
- Errors.
- Messages types Data messages and their possible responses.
- Storage types for spends, chunks and registers.
Structs
- Pretty print a
kad::KBucketKey
as a hex string. - Pretty print a
kad::RecordKey
as a hex string. So clients can use the hex string for xorname and record keys interchangeably. This makes errors actionable for clients. The only cost is converting kad::RecordKey into it before sending it in errors:record_key.into()
Enums
- This is the address in the network by which proximity/distance to other items (whether nodes or data chunks) are calculated.